﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Landscape;

namespace LandscapeFramework
{
    public partial class _Default : System.Web.UI.Page
    {
        protected global::System.Web.UI.WebControls.PlaceHolder placeholder1;

        protected void Page_Load(object sender, EventArgs e)
        {

            switch (Request.QueryString["feature"])
            {
                case "nested_templates":
                    Renderer.Render("NestedTemplates", new DataSet(), placeholder1);
                    break;
                case "nested_templates_with_parameters":
                    Renderer.Render("NestedTemplatesWithParameters", new DataSet(), placeholder1);
                    break;
                case "widgets":
                    Renderer.Render("WidgetsTemplate", new DataSet(), placeholder1);
                    break;
                case "smart_includes":
                    Renderer.Render("SmartIncludesTemplate", new DataSet(), placeholder1);
                    break;
                case "xslt_extension":
                    Renderer.Render("XsltExtensionTemplate", new DataSet(), placeholder1);
                    break;
                case "custom_xslt_extensions":
                    Renderer.Render("CustomXsltExtensionTemplate", new DataSet(), placeholder1);
                    break;
                case "user_controls":
                    Renderer.Render("UserControlsTemplate", new DataSet(), placeholder1);
                    break;
                default:
                    Renderer.Render("BasicUsage", new DataSet(), placeholder1);
                    break;
            }
        }
    }
}
